package org.gap.jseed;

/**
 * Is thrown when a class is requested that does not exist.
 * 
 * @author gpelcha
 */
public class NoSuchClassException extends InjectCodeException {
	private static final long serialVersionUID = 6167465922430708766L;
	private final String message;

	public NoSuchClassException(Throwable e) {
		this("No such class", e);
	}
	
	public NoSuchClassException(String message, Throwable e) {
		super(e);
		this.message = message;
	}
	
	@Override
	public String getMessage() {
		return message;
	}
}
